Component({
  data: {
    active_index: 0,
    Bottom_bar_List: [{
      id: 0,
      icon: 'IconoirHomeSimple',
      name: '主页',
      pagePath: "/pages/index/index",
    }, {
      id: 1,
      icon: 'IconoirChatLines',
      name: '圈子',
      pagePath: "/pages/community/index",
    }, {
      id: 2,
      icon: 'IconoirBell',
      name: '消息',
      pagePath: "/pages/message/index",
    }, {
      id: 3,
      icon: 'IconoirUser',
      name: '你的',
      pagePath: "/pages/user/index",
    }],
    isshow: true
  },
  attached() {},
  options: {
    styleIsolation: 'apply-shared'
  },
  methods: {
    Sel_Bottom_bar(e) {
      const data = e.currentTarget.dataset
      const url = data.path
      wx.switchTab({
        url
      })
      this.setData({
        active_index: data.index
      })
    }
  }
})